package com.Pawtrack.info.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.Pawtrack.common.annotation.Excel;
import com.Pawtrack.common.core.domain.BaseEntity;

/**
 * 宠物信息对象 pet
 * 
 * @author ruoyi
 * @date 2025-08-14
 */
public class Pet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 宠物ID */
    private Long id;

    /** 宠物名称 */
    @Excel(name = "宠物名称")
    private String name;

    /** 宠物类型 */
    @Excel(name = "宠物类型")
    private String type;

    /** 宠物品种 */
    @Excel(name = "宠物品种")
    private String breed;

    /** 宠物性别 */
    @Excel(name = "宠物性别")
    private String gender;

    /** 宠物生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "宠物生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 宠物体重(kg) */
    @Excel(name = "宠物体重(kg)")
    private BigDecimal weight;

    /** 宠物颜色 */
    @Excel(name = "宠物颜色")
    private String color;

    /** 宠物照片 */
    @Excel(name = "宠物照片")
    private String photo;

    /** 宠物状态 */
    @Excel(name = "宠物状态")
    private String status;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setBreed(String breed) 
    {
        this.breed = breed;
    }

    public String getBreed() 
    {
        return breed;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }

    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }

    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }

    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("breed", getBreed())
            .append("gender", getGender())
            .append("birthday", getBirthday())
            .append("weight", getWeight())
            .append("color", getColor())
            .append("photo", getPhoto())
            .append("status", getStatus())
            .append("userId", getUserId())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
